<?php session_start(); include("libs/views/head.php");?>
<body>
	<div id="contenedor">
		<?php include("libs/views/cabecera.php");
		if ($_SESSION['admin'] == true){?>
		<div id="cuerpoIndex">
<?php 
			include("libs/views/barraOpciones.php");
?>		
			<div>
				<h1>Gesti&oacute;n de eventos</h1>
			</div>
			<span class="span"></span>
			<div id="menuAdministrador">
				<div id="addEvent">
					<img class = "add" alt="A&ntilde;adir Evento" title="A&ntilde;adir Evento"
						src="libs/css/img/addEvent.png" onclick = "gestionEventos(event);"/>
				</div>
				<div id="deleteEvent">
					<img class = "delete" alt="Eliminar Evento" title="Eliminar Evento"
						src="libs/css/img/deleteEvent.png"  onclick = "gestionEventos(event);"/>
				</div>
				<div id="findEvent">
					<img class = "modify" alt="Modificar Evento" title="Modificar Evento"
						src="libs/css/img/editEvent.png"  onclick = "gestionEventos(event);" />
				</div>
			</div>	
		</div>	
		<?php 
		}else{
			?>
		<div id="cuerpo">
			<h1 style="font-family: Arial; color: red">Tiene que iniciar sesi&oacute;n
				para visualizar el contenido de esta p&aacute;gina.</h1>
		</div>
		<?php 
		}
		include("libs/views/pie.php");?>
	</div>
</body>
</html>